services:
  prometheus-webhook-dingtalk:
    image: registry.cn-hangzhou.aliyuncs.com/weizhihui/prometheus-webhook-dingtalk:v2.1.0
    container_name: webhook-dingtalk
    restart: always
    ports:
      - "8060:8060"
    volumes:
      - {{ monitoring_volumes }}:/etc/prometheus-webhook-dingtalk
    command:
      - '--config.file=/etc/prometheus-webhook-dingtalk/config.yaml'
    networks:
      - monitor

networks:
  monitor:
    external: true